package mware_lib.namensdienst.messages;

import java.io.Serializable;

public class RebindMsg implements Serializable{

	private static final long serialVersionUID = -4672988319329198945L;
	
	private String ID;
	private String objectType;
	private String localHost;
	private int localPort;

	public RebindMsg(String ID, String localHost, int localPort, String type) {
		this.ID = ID;
		this.localHost = localHost;
		this.localPort = localPort;
		this.objectType = type;
	}

	public String getID(){ 
		return ID; 
	}

	public String getLocalHost() {
		return localHost;
	}

	public int getLocalPort() {
		return localPort;
	}
	
	public String getType(){
		return objectType;
	}
}
